package com.edu.blog.entity;

/**
 * @author: LuckyBear
 * @date: 2018-10-29 11:11
 * @description:    博客举报表
 */
public class Report {
    private Integer id;     //举报表主键id
    private Integer article_id;     //被举报文章id
    private Integer reporter_id;    //举报者id
    private Integer report_time;    //举报时间
    private String report_content;      //举报内容

    public Report() {
    }

    public Report(Integer article_id, Integer reporter_id, Integer report_time, String report_content) {
        this.article_id = article_id;
        this.reporter_id = reporter_id;
        this.report_time = report_time;
        this.report_content = report_content;
    }
    public Report(Integer id, Integer article_id, Integer reporter_id, Integer report_time, String report_content) {
        this.id = id;
        this.article_id = article_id;
        this.reporter_id = reporter_id;
        this.report_time = report_time;
        this.report_content = report_content;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getArticle_id() {
        return article_id;
    }

    public void setArticle_id(Integer article_id) {
        this.article_id = article_id;
    }

    public Integer getReporter_id() {
        return reporter_id;
    }

    public void setReporter_id(Integer reporter_id) {
        this.reporter_id = reporter_id;
    }

    public Integer getReport_time() {
        return report_time;
    }

    public void setReport_time(Integer report_time) {
        this.report_time = report_time;
    }

    public String getReport_content() {
        return report_content;
    }

    public void setReport_content(String report_content) {
        this.report_content = report_content;
    }

    @Override
    public String toString() {
        return "report{" +
                "id=" + id +
                ", article_id=" + article_id +
                ", reporter_id=" + reporter_id +
                ", report_time=" + report_time +
                ", report_content='" + report_content + '\'' +
                '}';
    }
}
